package com.banksoft.admin.entity;

import com.banksoft.util.DateUtil;

/**
 * Created by Administrator on 2016/5/19.
 */
public class TxApply {

    private String id;
    private String userId;//openId
    private String amount;//提现金额
    private Long createTime;
    private String type;//提现类型 1:微信 2：银行卡
    private String status;//0:待审核  1：审核通过 2:审核拒绝  3:已取消
    private String remark;//备注
    private String shrName;//审核人
    private Long shTime; //审核时间
    private String bz;//审核意见
    private String bankName;
    private String cardNo;//卡号
    private String cardName;//持卡人
    private String dzAmount;//到账金额
    private String sxf;//手续费

    //不映射数据库
    private String dateStr;
    private String shDateStr;
    private String userAccount;
    private String userNickName;
    private String userType;



    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getShrName() {
        return shrName;
    }

    public void setShrName(String shrName) {
        this.shrName = shrName;
    }

    public Long getShTime() {
        return shTime;
    }

    public void setShTime(Long shTime) {
        this.shTime = shTime;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getDzAmount() {
        return dzAmount;
    }

    public void setDzAmount(String dzAmount) {
        this.dzAmount = dzAmount;
    }

    public String getSxf() {
        return sxf;
    }

    public void setSxf(String sxf) {
        this.sxf = sxf;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDateStr() {
        if(createTime!=null)
            return DateUtil.getDateFromLong(createTime);
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public String getShDateStr() {
        if(shTime!=null)
            return DateUtil.getDateFromLong(shTime);
        return shDateStr;
    }

    public void setShDateStr(String shDateStr) {
        this.shDateStr = shDateStr;
    }
}
